import App from './App'
// 全局注册https://uniapp.dcloud.net.cn/tutorial/vue3-components.html
import myComponent from '../project_test/myConponents/component.vue'

// #ifndef VUE3
import Vue from 'vue'
import './uni.promisify.adaptor'
Vue.config.productionTip = false
App.mpType = 'app'
const app = new Vue({
  ...App
})
app.$mount()
// #endif

// #ifdef VUE3
import { createSSRApp } from 'vue'

export function createApp() {
  const app = createSSRApp(App)
  //调用app.component方法全局注册组件
  		app.component('my-component', myComponent)
  return {
    app
  }
}
// #endif